package com.myblog.service;

import com.myblog.model.Reward;
import com.myblog.utils.DataMap;
import org.springframework.web.multipart.MultipartFile;

public interface RewardService {
    /**
     * 获取募捐信息
     * @return
     */
    DataMap getReward();

    /**
     * 根绝id删除募捐信息
     * @param id
     * @return
     */
    DataMap deleteRewardById(Integer id);

    /**
     * 添加募捐信息
     * @param reward
     * @return
     */
    DataMap addReward(MultipartFile file,Reward reward);
}
